import request from '@/utils/request'

// 查询车辆通行记录列表
export function listRecord_car(query) {
  return request({
    url: '/business/record_car/list',
    method: 'get',
    params: query
  })
}

// 查询车辆通行记录详细
export function getRecord_car(recordPictureCarId) {
  return request({
    url: '/business/record_car/' + recordPictureCarId,
    method: 'get'
  })
}

// 新增车辆通行记录
export function addRecord_car(data) {
  return request({
    url: '/business/record_car',
    method: 'post',
    data: data
  })
}

// 修改车辆通行记录
export function updateRecord_car(data) {
  return request({
    url: '/business/record_car',
    method: 'put',
    data: data
  })
}

// 删除车辆通行记录
export function delRecord_car(recordPictureCarId) {
  return request({
    url: '/business/record_car/' + recordPictureCarId,
    method: 'delete'
  })
}

// 导出车辆通行记录
export function exportRecord_car(query) {
  return request({
    url: '/business/record_car/export',
    method: 'get',
    params: query
  })
}